package com.neuedu.controller;

import com.neuedu.entity.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConverterController {

    /**
     * http://127.0.0.1:8080/user?createTime=2021-04-07
     * @param user
     * @return
     */
    @GetMapping("/user")
    User getUserInfo(User user){

        return user;
    }


}
